package com.kly.user.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.google.common.collect.Maps;
import com.kly.user.db.dao.ChatterLevelDao;
import com.kly.user.db.entity.ChatterLevelEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;

/**
* User: user
* Date: 2024-03-08
* Time: 11:48:30.388
*/

@Repository
public class ChatterLevelDaoImpl extends AbstractBaseMapper<ChatterLevelEntity> implements ChatterLevelDao {

    @Override
    public ChatterLevelEntity getChatterLevel(String chatterCode) {
        final HashMap<String, Object> params = Maps.newHashMap();
        params.put("chatterCode", chatterCode);
        return this.getSqlSession().selectOne(this.getStatement("getChatterLevel"), params);
    }
}